import { defineComponent } from "vue";
import { ElButton } from "element-plus";
import router from "@/router/permission";

import c from './index.module.scss'
import notFound from "@/assets/404.png"

export default defineComponent({
  setup() {
    return () => <div class={c["m-notFound"]}>
      <img class={c["m-fade"]} src={notFound} />
      <div class={`${c["m-fade"]} ${c["m-font"]}`}>很抱歉！您访问的页面不存在</div>
      <ElButton type="primary" onClick={() => router.push('/')}>返回首页</ElButton>
    </div>
  }
})